package com.rorochen.server.gotty;

import java.nio.channels.ClosedChannelException;
import java.nio.channels.SelectableChannel;
import java.nio.channels.SelectionKey;

/**
 * @author chenqi
 * @date 2021-12-08 11:21
 */
public interface EventLoop extends Runnable{

    void handler(SelectionKey key);

    void close();

    void register(SelectableChannel var1) throws ClosedChannelException;







}
